package com.yxlgateway.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxlcommon.common.pojo.Author;
import com.yxlcommon.common.pojo.RespBean;
import com.yxlcommon.common.vo.AuthorVo;

import java.util.List;

public interface AuthorService extends IService<Author> {

    RespBean getRecommendAuthors();

    RespBean<List<AuthorVo>> selectAuthorsByKeyword(String keyword);

    RespBean <List<AuthorVo>> selectAllAuthors();

    RespBean<Author> selectAuthorByUsername(Author author);

    RespBean<Author> selectAuthorById(Author author);
}
